package com.amado.easyui2.service;

import java.util.List;

import com.amado.easyui2.domain.Department;
import com.amado.easyui2.vo.Page;

public interface DepartmentService {
	boolean add(Department department);

	List<Department> list();
	
	Department getByDeptNumber(String deptNumber);

	boolean delete(Long id);
	
	boolean update(Department department);
	Page<Department> listAll(Page page);
	
	List<Department> listAll();
}
